package com.jarvis.hospital;


import com.jarvis.hospital.util.CrashHandler;
import com.jarvis.hospital.util.JarvisUtil;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by jarvis.liu on 9/8/2016.
 */
public class Application extends android.app.Application {
     public static Application application;


    @Override
    public void onCreate() {
        super.onCreate();
         application = this;
        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);
        new JarvisUtil().initSystem(this);
        CrashHandler.getInstance().init(this);
    }
}
